#pragma once
#include "IBBS2chProxySocket.h"

class BBS2chProxyRawSocket : public IBBS2chProxySocket {
public:
	BBS2chProxyRawSocket(int sock);
	~BBS2chProxyRawSocket();
	virtual int read(char *buffer, int length);
	virtual int readLine(char *buffer, int maxLength);
	virtual int write(const char *buffer, int length);
	virtual int writeString(const std::string &str);
	virtual void close(void);
private:
	int socket;
};
